<template>
  <div
    class="index-header-city-container"
    :style="{ backgroundColor: isColorLight ? '#fff' : '' }"
  >
    <div class="left">
      <!-- <image
        src="../../assets/images/myImg/lplogo.jpg"
        style="border-radius: 50%; width: 20px"
        mode="widthFix"
      ></image> -->
      <div class="city">石家庄市</div>
      <IconFont name="triangle-down" size="10"></IconFont>
    </div>
  </div>
  <div class="right"></div>
</template>

<script setup>
import { IconFont } from "@nutui/icons-vue-taro";
import { ref, toRefs } from "vue";
const props = defineProps({
  isColorLight: Boolean,
});
const { isColorLight } = toRefs(props);
const handleScroll = () => {};
</script>

<style lang="scss">
.index-header-city-container {
  height: 60px;
  transition: background-color 0.3s ease-in-out;
  // background-color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
  position: fixed;
  z-index: 9;
  left: 0;
  right: 0;
  top: 0;
  .left {
    display: flex;
    align-items: center;
    .city {
      margin-left: 10px;
      margin-right: 10px;

      font-size: 22px;
    }
  }
}
</style>
